import { type SlateLeafProps } from "platejs";

import { SlateLeaf } from "platejs";

export function HighlightLeafStatic(props: SlateLeafProps) {
  return (
    &lt;SlateLeaf {...props} as="mark" className="bg-highlight/30 text-inherit"&gt;
      {props.children}
    &lt;/SlateLeaf&gt;
  );
}
